package com.lpf.www.common.utils;

/**
 * @Author lpf
 * @Date 2021/12/30 下午10:22
 * @ProjectName live-streaming-os
 * @Version 1.0
 * @Description:
 */
public class CommonData {
    //返回值信息
    public static final String SYSTEM_ERROR = "系统级错误，请稍后重试！";
    public static final String SUCCESS_MSG = "请求成功！";

    //返回代码
    public static final int SUCCESS_CODE = 200;
    public static final int SYSTEM_ERROR_CODE = 501;
    public static final int ILLEGAL_ERROR_CODE = 500;
    public static final int NOT_REMEMBER_ME = 201;

    //用户登录帐号
    public static final String LOGIN_USERNAME = "LOGIN_USERNAME";
    //管理员登录用户名
    public static final String ADMIN_USERNAME = "ADMIN_USERNAME";

    //设置用户帐号密码的保存时长
    public static final int REMEMBER_PASSWORD_TIME = 60 * 60 * 24 * 15;

    //-Xmx979m

    //阿里云账号AccessKey拥有所有API的访问权限，风险很高。强烈建议您创建并使用RAM用户进行API访问或日常运维，请登录RAM控制台创建RAM用户。
    protected static final String ACCESS_KEY_ID = "LTAI5tQWLSEMPaWF8kwCHnjN";
    protected static final String ACCESS_KEY_SECRET = "eWthFuGR0E7bV2NqQA3zQlmGzmfRNA";

    //用户的存储空间（bucket）名称
    protected static final String BUCKET_NAME = "lanhuhen";
    protected static final String ENDPOINT = "oss-cn-chengdu.aliyuncs.com";
}
